We have a client running an intranet application with the app pool identity set up as NetworkService. This means the app will present itself to other services as Domain\ComputerName$ user.
There is a shared mailbox set up on Exchange 2013. The application connects to the mail server to download emails from the mailbox. It uses EWS Managed API, but that shouldn't matter in this scenario.
How do I give a computer account full access to the shared mailbox? It does not appear as a user under Full Access permissions box. That seems to be a trivial security configuration, but I can't find a way to do it.
We've also tried Add-MailboxPermission
-Identity "domain\computername$" -User "shared mailbox" -AccessRights 'FullAccess'
but to no avail. I get computername$ wasn't found error.
I tried different options for Identity, like FQDN or full AD name, but still the same error.
thanks,
Rory
Question also asked here: http://stackoverflow.com/questions/30999672/give-networkservice-domain-computername-permissions-to-access-exchange-server
- Edited by Rory PS Thursday, July 02, 2015 11:33 AM